<{Tinclude "commom/admin_header"}>
   <{Tinclude"tenantcommom/tenant_inner_header"}>
    <{Tinclude"tenantcommom/tenant_left_menu"}>
    <section id="main-content">
          <section class="wrapper">
            <h3><i class="fa fa-angle-right"></i> 租房</h3>
              <div class="row mt">
                  <div class="col-lg-12 jpbox">
                   
                      <form class="form-inline" role="form">
                          <input type="hidden" name="city_id" value="<?php if(isset($jp_arg['city_id']))echo $jp_arg['city_id'];?>" />
                          <input type="hidden" name="province_id" value="<?php if(isset($jp_arg['province_id']))echo $jp_arg['province_id'];?>"  />
                          <input type="hidden" name="district_id" value="<?php if(isset($jp_arg['district_id']))echo $jp_arg['district_id'];?>" />
                          <div class="form-group">
                     
                      <span class="badge bg-primary fa-2x cursor jpmylocal jpsearchlabelcity"><{if isset($local)&&$local}><{$local}><{else}><{$tenant["city"]}><{/if}></span>
                  
                      <span class="fa fa-map-marker fa-2x cursor jpmylocal"></span>
                     
                          </div>
                        
                          <div class="form-group">
                              <label class="sr-only" for="buildcode">搜索</label>
                              <input type="text" name="title" class="form-control" value="<?php if(isset($jp_arg['title']))echo $jp_arg['title'];?>" id="buildcode" placeholder="搜索">
                          </div>
                          <button type="submit" class="btn btn-theme">搜索</button>
                      </form>
                  </div>
                  <div class="col-lg-12">
                      <div class="row">
                         
                          
<{if isset($list)&&$list}>
<{foreach $list as $v}>
<div class="col-lg-4 col-md-4 col-sm-4 mb">
<div class="white-panel pn">
    <div class="gray-header">
        <a class="jpwhite" href="<{echo Common::RewriteUrl("Tenantadmin","roomlist","&bid={$v["id"]}");}>"><h5><{$v["base_name"]}></h5></a>
     </div>
    
    <div class="centered jpphoto">
        <div class="photo-wrapper">
            <div class="photo">
        <a class="fancybox" href="/<{$v["image"]}>"><img src="<{$v["thumb"]}>" width="100%" height="263" alt="" /></a>
            </div>
        </div>    
     </div>
    <a class="jpwhite" href="<{echo Common::RewriteUrl("Tenantadmin","roomlist","&bid={$v["id"]}");}>"><div class="jplocal"><{$v["province"]}>&nbsp;<{$v["city"]}>&nbsp;<{$v["district"]}></div></a>
    <a class="jpwhite" href="<{echo Common::RewriteUrl("Tenantadmin","roomlist","&bid={$v["id"]}");}>"><div class="jpdesc"><{$v["desc"]}></div></a>

    
</div>
</div>
<{/foreach}>
 <div class="col-md-12 text-center">
                           <?php Temp::Tinclude("commom/pager");?>
 </div>
<{else}>
 <div class="col-md-12 col-xs-12">
 <h4 class="text-center">数据为空</h4>
</div>
<{/if}>
                          
                          
                          
                          
                          
                      </div>
                  </div>
                  
              </div>
          </section>
    </section>
    
      <script type="text/javascript">
      $(function() {
          jQuery(".fancybox").fancybox();
      });

  </script>
        <{Tinclude"commom/admin_footer"}>